//
//  VoiceKit.h
//  DCVoiceKit
//
//  Created by 张涛 on 2020/10/13.
//  Copyright © 2020 zhangtao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DCVoiceKitMacro.h"
#import "DCVoiceKitConfig.h"
#import <DCUtilKit/DCUtilKit.h>
#import "DCVoiceAdapter.h"

NS_ASSUME_NONNULL_BEGIN

@interface VoiceKit : NSObject

@property(nonatomic,strong) DCVoiceAdapter *voiceAdapter;
@property(nonatomic,strong) NSDictionary *voiceInfo;

+ (instancetype) sharedKit;

//初始化voice管理类
- (void) initWithInfo:(NSDictionary* __nullable)info;
//开始听写
- (void) beginSpeech:(nullable void (^)(DCError *error,NSDictionary *data))callback;
//结束听写
- (void) endSpeech;
@end

NS_ASSUME_NONNULL_END
